package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * 宿舍基础信息对象 dormitory_base_info
 *
 * @author ruoyi
 * @date 2024-09-02
 */
public class DormitoryBaseInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 宿舍id,pk
     */
    private Long dormitoryId;

    /**
     * 宿舍编码(房间号)
     */
    @Excel(name = "宿舍编码(房间号)")
    private String dormitoryCode;

    /**
     * 宿舍类型(1、2、4、6、8人间)
     */
    @Excel(name = "宿舍类型(1、2、4、6、8人间)")
    private Long dormitoryType;

    /**
     * 最多入住人数
     */
    @Excel(name = "最多入住人数")
    private Long dormitoryMaxNum;

    /**
     * 入住率
     */
    @Excel(name = "入住率/已入住人数")
    private Long dormitoryOccupancy;

    /**
     * 宿舍园区
     */
    @Excel(name = "宿舍园区")
    private String dormitoryPark;

    /**
     * 宿舍楼层
     */
    @Excel(name = "宿舍楼层")
    private String dormitoryFloor;

    /**
     * 宿舍分区
     */
    @Excel(name = "宿舍分区")
    private String dormitoryArea;

    /**
     * 宿舍启用状态
     */
    @Excel(name = "宿舍启用状态")
    private Long dormitoryStatus;

    @Transient
    private String dormitoryStatues;
    @Transient
    private List<String> dormitoryStatusList;

    /**
     * 是否删除1删除0未删除
     */
    @Excel(name = "是否删除1删除0未删除")
    private Long isDelete;

    public void setDormitoryId(Long dormitoryId) {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() {
        return dormitoryId;
    }

    public void setDormitoryCode(String dormitoryCode) {
        this.dormitoryCode = dormitoryCode;
    }

    public String getDormitoryCode() {
        return dormitoryCode;
    }

    public void setDormitoryType(Long dormitoryType) {
        this.dormitoryType = dormitoryType;
    }

    public Long getDormitoryType() {
        return dormitoryType;
    }

    public void setDormitoryMaxNum(Long dormitoryMaxNum) {
        this.dormitoryMaxNum = dormitoryMaxNum;
    }

    public Long getDormitoryMaxNum() {
        return dormitoryMaxNum;
    }

    public void setDormitoryPark(String dormitoryPark) {
        this.dormitoryPark = dormitoryPark;
    }

    public String getDormitoryPark() {
        return dormitoryPark;
    }

    public void setDormitoryFloor(String dormitoryFloor) {
        this.dormitoryFloor = dormitoryFloor;
    }

    public String getDormitoryFloor() {
        return dormitoryFloor;
    }

    public void setDormitoryArea(String dormitoryArea) {
        this.dormitoryArea = dormitoryArea;
    }

    public String getDormitoryArea() {
        return dormitoryArea;
    }

    public void setDormitoryStatus(Long dormitoryStatus) {
        this.dormitoryStatus = dormitoryStatus;
    }

    public Long getDormitoryStatus() {
        return dormitoryStatus;
    }

    public void setIsDelete(Long isDelete) {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dormitoryId", getDormitoryId())
                .append("dormitoryCode", getDormitoryCode())
                .append("dormitoryType", getDormitoryType())
                .append("dormitoryMaxNum", getDormitoryMaxNum())
                .append("dormitoryOccupancy", getDormitoryOccupancy())
                .append("dormitoryPark", getDormitoryPark())
                .append("dormitoryFloor", getDormitoryFloor())
                .append("dormitoryArea", getDormitoryArea())
                .append("dormitoryStatus", getDormitoryStatus())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("isDelete", getIsDelete())
                .toString();
    }

    public String getDormitoryStatues() {
        return dormitoryStatues;
    }

    public void setDormitoryStatues(String dormitoryStatues) {
        this.dormitoryStatues = dormitoryStatues;
    }

    public List<String> getDormitoryStatusList() {
        return dormitoryStatusList;
    }

    public void setDormitoryStatusList(List<String> dormitoryStatusList) {
        this.dormitoryStatusList = dormitoryStatusList;
    }

    public Long getDormitoryOccupancy() {
        return dormitoryOccupancy;
    }

    public void setDormitoryOccupancy(Long dormitoryOccupancy) {
        this.dormitoryOccupancy = dormitoryOccupancy;
    }
}
